package com.ccn.crm.service.impl;

import com.ccn.crm.mapper.userGroupMapper;
import com.ccn.crm.model.UserView;
import com.ccn.crm.model.userGroup;
import com.ccn.crm.service.IUserGroup;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class UserGroupImpl implements IUserGroup {
    @Autowired
    private userGroupMapper userGroupMapper;
    @Override
    public List<userGroup> selectAll() {
        return userGroupMapper.selectAll();
    }

    @Override
    public List<userGroup> projectManagement() {
        return userGroupMapper.projectManagement();
    }

    @Override
    public List<userGroup> selectUserByGroup(Integer group) {
        return userGroupMapper.selectUserByGroup(group);
    }

}
